package com.gs.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @title: 孙杨申
 * @date 2021/12/1 20:43
 */
@Data
@AllArgsConstructor
@ApiModel(description = "角色")
@TableName("gs_role")
@EqualsAndHashCode(callSuper = false)
public class RoleEntity extends BaseEntity {

    @ApiModelProperty(name = "roleName",value = "角色名称")
    private String roleName;

    @ApiModelProperty(name = "roleExplain", value = "说明")
    private String roleExplain;
    /** 菜单列表,具体按照user表的权限列表为主 */
    @ApiModelProperty(name = "menuList",value = "菜单列表,具体按照user表的权限列表为主")
    private String menuList;
}
